// Copyright 2021 Guoyoko. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"


class FSWBaseProperty
{

public:
	
	FSWBaseProperty(TSharedRef<class SSWDetailPanelContainer> InContainer) 
	{
		DetailpanelContainer = InContainer;
	}

	virtual ~FSWBaseProperty() {}

	virtual void Initialize() {}

	
	virtual bool TryDisplayDetailPanel(const class AActor* InActor) { return false; }

public:
	AActor* SelectedActor = nullptr;

protected:

	TWeakPtr<class SSWDetailPanelContainer> DetailpanelContainer;
};

